﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="s.aspx.cs" Inherits="Maticsoft.Web.s" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="footer.ascx" TagName="footer" TagPrefix="uc2" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>搜索结果</title>
    <link rel="stylesheet" href="css/reset.css" />
    <link rel="stylesheet" href="css/common.css" />
    <script type="text/javascript" src="js/jquery.1.4.2-min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.dropdown').hover(
					function () {
					    $(this).children('.sub-menu').slideDown(200);
					},
					function () {
					    $(this).children('.sub-menu').slideUp(200);
					}
				);
        }); // end ready
        $(document).ready(function () {
            $(".good-box:nth-child(4n)").css("margin-right", "0");
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:Header ID="Header1" runat="server" />
    <div class="row bg-garay mar-btm-30">
        <div class="safe_width">
            <div class="adr-box">
                <a href="default.aspx" class="fs-14">首页</a><span> > </span><a href="###" class="fs-14">搜索结果</a>
            </div>
        </div>
    </div>
    <div class="row bg-white">
        <div class="safe_width">
            <div class="box-good goods-list">
                <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                <div class="good-box" onclick="window.location.href='goods-indent.html'">
                    <div class="good-img">
                        <a href="ProductDetail.aspx?cid=<%#Eval("categoryId") %>&id=<%#Eval("productId") %>"><img src="uploadpic/<%#Eval("pic") %>"></a>
                    </div>
                    <div class="good-des">
                        <p class="good-name">
                            <%#Eval("ProductName")%></p>
                        <div class="goods-buy">
                            <p class="fl">
                                <span class="fs-16">￥</span><%# decimal.Parse(Eval("MarketPrice").ToString()).ToString("f2")%></p>
                            <a href="###" class="fr">加入购物车</a>
                        </div>
                    </div>
                </div>
                </ItemTemplate>
                </asp:Repeater>
            </div>
            <div class="page-no mar-top-20">
                <webdiyer:AspNetPager ID="AspNetPager1" CssClass="pages" 
                    CurrentPageButtonClass="cpb" runat="server" UrlPaging="true" 
                    HorizontalAlign="center" PageSize="16" EnableTheming="true" 
                    onpagechanging="AspNetPager1_PageChanging">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </div>
    <uc2:footer ID="footer1" runat="server" />
    </form>
</body>
</html>
